x86: also allow REP STOS emulation acceleration
authorJan Beulich <jbeulich@suse.com>
Mon, 12 Jan 2015 14:40:06 +0000 (15:40 +0100)
committerJan Beulich <jbeulich@suse.com>
Mon, 12 Jan 2015 14:40:06 +0000 (15:40 +0100)
commitcacdb0faaa121ac8f792d5bd34cc6bc7c72d21da
tree1afb4ced1981783710df8b8690278068b6525859
parent07a6aa869bae0699d2f7e1b75d188229eb70c9e4
x86: also allow REP STOS emulation acceleration

While the REP MOVS acceleration appears to have helped qemu-traditional
based guests, qemu-upstream (or really the respective video BIOSes)
doesn't appear to benefit from that. Instead the acceleration added
here provides a visible performance improvement during very early HVM
guest boot.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/hvm/emulate.c
xen/arch/x86/hvm/stdvga.c
xen/arch/x86/x86_emulate/x86_emulate.c
xen/arch/x86/x86_emulate/x86_emulate.h
xen/include/xen/lib.h